package com.offcn.service.impl;

import com.offcn.po.User;
import com.offcn.service.UserService;

public class UserServiceImpl implements UserService {
    @Override
    public void add(User user) {
        System.out.println("新增方法");
    }

    @Override
    public void update(User user) {
        System.out.println("修改");
    }

    @Override
    public void delete(Long id) {

        //老鸟修改的代码
        while (true){
            System.out.println("老鸟代码");
        }



    }

    @Override
    public User findOne(Long id) {
        return null;
    }
}
